package com.zhongyouyun.jyj.service;

import com.zhongyouyun.jyj.model.DistrictModel;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhongyouyun.jyj.pojo.DistrictPojo;

import java.util.List;

/**
 * @Author: shenyi
 * @Date: 2023-11-17
 * @Description: 教育局地区服务类
 */

public interface DistrictService extends IService<DistrictModel> {

    IPage<DistrictModel> selectPage(Page<DistrictModel> userPage, QueryWrapper<DistrictModel> queryWrapper);

    List<DistrictModel> selectList(QueryWrapper<DistrictModel> queryWrapper);

    IPage<DistrictPojo> selectPojoPage(Page page, QueryWrapper queryWrapper);
}
